package com.apestech.framework.util;

/**
 * 异常处理工具类
 *
 * @author hup
 * @create 2018-03-17-18:30
 */
public class ExceptionUtil extends MessageUtil{

    public static void exception(Object classObj, String method, String msg) throws Exception {
        throw new Exception(classObj.getClass().getName()+"_"+method+":"+msg+"; ");
    }

    public static void runException(Object classObj, String method, String msg) throws RuntimeException {
        throw new RuntimeException(classObj.getClass().getName()+"_"+method+":"+msg+"; ");
    }


}
